using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Model
{
    public  partial class Permit_Menu
    {
        
    }

    [SugarTable("Permit_Menu")]
    public  class MenuList
    {
        /// <summary>
        ///id
        /// <summary>
        public long id { get; set; }
        /// <summary>
        ///菜单名
        /// <summary>
        public String Name { get; set; }
        /// <summary>
        ///状态，0 正常 1 禁用
        /// <summary>
        private string status { get; set; }
        public string Status
        {
            get { return status; }

            set
            {
                if ("0" == value)
                {
                    status = "正常";
                }
                else if ("1" == value)
                {
                    status = "禁用";
                }
            }
        }
        /// <summary>
        ///上级id
        /// <summary>
        public long Menu_id { get; set; }
        /// <summary>
        ///标识
        /// <summary>
        public String Menu_code { get; set; }
        /// <summary>
        ///菜单图标
        /// <summary>
        public String MenuStyle { get; set; }
        /// <summary>
        ///排序
        /// <summary>
        public int rank { get; set; }
        /// <summary>
        ///链接
        /// <summary>
        public String url { get; set; }
        /// <summary>
        ///创建时间
        /// <summary>
        public DateTime CreateDate { get; set; }
       
    }

}

